package com.yun.zf.common.admin.model.house.es;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@Data
public class BasicEs {
    private Long hid;  // 房源id
    private Long provinceCode;  // 省级区划代码
    private Long cityCode;
    private Long regionCode;
    private  Long streetCode;
    private String cityName;
    private String regionName;
    private String streetName;
    private Long communityId;
    private String community;
    //房屋状态 checking-待实勘 supplement-待完善 published-已上架 off-下架，rented-已出租、sold-已售出、
    private String status;
    // 数据来源
    private String source;
    //类型，1整租，2 合租 3 公寓 4、二手房、5新房 6、商铺出租、7商铺出售 8、写字楼出租 9 写字楼出售
    private Integer type;
}
